
    
// sysroleService
export const sysroleService = {
  queryData: (params = {}) => get(`/sysrole`, params),
  postItem: (params = {}) => {
    return post(`/sysrole`, params);
  },
  deleteItem: params => post(`/sysrole/d`, params),

  getById: params => {
    return get(`/sysrole/${params.id}`, params);
  },
  all: (params = {}) => {
    return get(`/sysrole/all`, params);
  }
 
};

    